package com.my.xinyidaixi.Activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;

import com.my.xinyidaixi.R;

/**
 * Created by zw on 2017/6/8.
 */
public class price_center extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.price_center);
        initdata();
    }

    public void initdata()
    {
        ImageView price_center_fanhui = (ImageView) findViewById(R.id.price_center_fanhui);
        price_center_fanhui.setOnClickListener(new Button());
    }

    public class Button implements View.OnClickListener
    {

        @Override
        public void onClick(View v) {

            price_center.this.finish();
            overridePendingTransition(0,R.anim.ani_left_sign_out);
        }
    }

    @Override
    protected void onPause() {
        super.onPause();
        overridePendingTransition(0,R.anim.ani_left_sign_out);
    }


}
